package com.zeny.coding.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ResourceDto {
    private String id;

    private String name;

    private String page;

    private String request;

    private String parent;

    private List<ResourceDto> children = new ArrayList<>();

    public void isValidForSave() {
    }

    public void isValidForUpdate() {
    }
}